package com.fengye.rabbit.login.response;

/**
 *
 * @author sky
 * @date 2021年06月09日 4:04 下午
 */

public enum StatusCode {
    InvalidParams(20001, "参数错误"),
    Success(200, "正确"),
    Fail(500, ""),
    ;

    private int code;
    private String msg;

    StatusCode(int code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
}
